Don't use C99.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 20 Jul 2006 17:49:45 +0000 (17:49 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 20 Jul 2006 17:49:45 +0000 (17:49 +0000)
gpsbabel/gbser_posix.c

index 8a81862975fee6686ca3f9fb866a931561ce6295..de39d3ce19c8426264afdb3cc17ad8341758a477 100644 (file)
@@ -263,9 +263,9 @@ int gbser__fill_buffer(void *handle, unsigned want, unsigned *ms) {
         h->inbuf_used += rc;
         /*printf("Got %d bytes\n", rc);*/
     } else {
+        double time_left = *ms;
         hp_time tv;
         get_time(&tv);
-        double time_left = *ms;
         
         for (;;) {
             fd_set rec;